package com.bjc.platform.util; 

public class OperationMessage {
	
	/**
	 * 操作是否成功
	 */
	private boolean success;

	/**
	 * 操作的描述信息
	 */
	private String desc;
	
	/**
	 * 操作状态
	 */
    private int status;
	
	
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	
	public OperationMessage(){
		super();
		this.success=true;
	}
	
	
	public OperationMessage(String desc){
		super();
		this.success=false;
		this.status=-1;
		this.desc=desc;
	}
	
	public OperationMessage(String desc,int status){
		super();
		this.desc=desc;
		this.status=status;
	}
	
}
